import java.util.Scanner;

/**
 * @author: gao
 * @create-date: 2025/5/13 21:18
 */

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double num = scanner.nextDouble();
        //获取绝对值
        System.out.println(Math.abs(num));
        //平方根
        System.out.println(Math.sqrt(num));
        //对数
        System.out.println(Math.log(num));
        //正弦值
        System.out.println(Math.sin(num));
    }
}